package com.qj.yantaishan.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 shanglala_user_attention
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class UserAttention
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Integer userId;

    /** 当type=1，这里值为商品id，type=2，此值为店铺id */
    @Excel(name = "当type=1，这里值为商品id，type=2，此值为店铺id")
    private Integer dataId;

    /** 数据类型  1，商品 2，店铺 */
    @Excel(name = "数据类型  1，商品 2，店铺")
    private Integer dataType;

    /** 添加时间 */
    @Excel(name = "添加时间")
    private Integer addTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer storeId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setDataId(Integer dataId) 
    {
        this.dataId = dataId;
    }

    public Integer getDataId() 
    {
        return dataId;
    }
    public void setDataType(Integer dataType) 
    {
        this.dataType = dataType;
    }

    public Integer getDataType() 
    {
        return dataType;
    }
    public void setAddTime(Integer addTime) 
    {
        this.addTime = addTime;
    }

    public Integer getAddTime() 
    {
        return addTime;
    }
    public void setStoreId(Integer storeId) 
    {
        this.storeId = storeId;
    }

    public Integer getStoreId() 
    {
        return storeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("dataId", getDataId())
            .append("dataType", getDataType())
            .append("addTime", getAddTime())
            .append("storeId", getStoreId())
            .toString();
    }
}
